package com.jzmy.specialist.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.jzmy.specialist.entity.Experts;
import com.jzmy.specialist.entity.vo.ExpertsVo;
import com.jzmy.specialist.entity.vo.MyExpertsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 知识点模块
 * @author mengzhichao
 * @create 2022-08-23-15:29
 */
public interface ExpertsDao extends BaseMapper<Experts> {
    List<ExpertsVo> dyGetUserList(Page<ExpertsVo> page, Map map);

    List<MyExpertsVo> selByUserId(Page<MyExpertsVo> page, @Param("userId") Long userId);
}
